using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Ras2ClassLib;

public partial class DisplayLagUppl : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!this.IsPostBack)
        {
            String strID = Request.QueryString["ID"];

            if (!String.IsNullOrEmpty(strID))
            {
                this.ViewState["LagID"] = strID;
            }
		
            LagDoc doc = new LagDoc();
            Lag lag = doc.GetLag(Convert.ToInt32(strID));
            if (lag != null)
            {
                m_lblName.Text = lag.Name;
                m_lblPerformer.Text = lag.PerformersName;
                m_lblDescription.Text = lag.Description;
                m_hypMp3Path.NavigateUrl = lag.Mp3Path;
            }
            else
            {
                m_lblName.Text = "Fuck this";
            }
        }
    }
}
